package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysDevice;

import java.util.Map;

public interface SysDeviceService {
    public ResultMsg addSysDevice(SysDevice sysDevice);
    public ResultMsg getSysDeviceList(Map<String,Object> map);
    public ResultMsg updSysDevice(SysDevice sysDevice);
    public ResultMsg delSysDeviceById(int id);

    public ResultMsg refreshOnlineStatus(String id);
}
